#if canImport(TuistCore)
    import TuistCore

    extension Components.Schemas.CacheCategory {
        init(_ cacheCategory: RemoteCacheCategory) {
            switch cacheCategory {
            case .binaries:
                self = .builds
            case .selectiveTests:
                self = .tests
            }
        }
    }
#endif
